function plot_spectrum(x, fs)

N = length(x);
espectro_x = fft(x,N); 
fAxis= ([-N/2: (N-1)/2]/N) *fs;  
plot(fAxis, fftshift(abs(espectro_x)));

end